package com.example.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.domain.entity.Setmeal;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 * 套餐 Mapper 接口
 * </p>
 *
 * @author xiaoduan
 * @since 2024-07-30
 */
@Mapper
public interface SetmealMapper extends BaseMapper<Setmeal> {

    @Select("select * from setmeal where category_id = #{ids} ;")
    List<Setmeal> findByCategoryId(String ids);

}
